package com.baor.mall.domain;

/**
 * @Author: Chen Feiya
 * @CreateTime: 2025-07-18
 * @Description:
 * @Version: 1.0
 */


import com.baor.common.annotation.Excel;
import com.baor.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Data
public class TCommo extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private String strlabelIds;
    private String[] labelIds; // 标签ID数组
    private String labNames;
    private Integer minPrice;
    private Integer maxPrice;
    private Integer deliveryMethod;
    private String commoCode;
    private String volume;
    private String weight;
    private String costPrice;
    private String dashPrice;
    private String speName1;
    private String speName2;
    private String speName3;
    private String parentCommoId;
    private String specification;
    @Excel(
            name = "商品id"
    )
    private Long commoId;
    @Excel(
            name = "商品名称"
    )
    private String commoName;
    @Excel(
            name = "商品价格"
    )
    private String commoPrice;
    @Excel(
            name = "商品库存"
    )
    private String commoStock;
    @Excel(
            name = "商品销量"
    )
    private String commoSales;
    @Excel(
            name = "商品状态",
            readConverterExp = "0=销售中，1仓库中"
    )
    private Integer commoState;
    @Excel(
            name = "商品类型",
            readConverterExp = "0=虚拟商品，1实物商品"
    )
    private Long commoType;
    @Excel(
            name = "商品服务Id"
    )
    private Long commoServeId;
    @Excel(
            name = "商品分类id"
    )
    private Long commoTaxId;
    @Excel(
            name = "商品图片"
    )
    private String commoIcon;
    @Excel(
            name = "商品副标题"
    )
    private String commonSub;
    @Excel(
            name = "商品品牌id"
    )
    private Long commoBrandId;
    @Excel(
            name = "商品标签id"
    )
    private Long commoLabelId;
    @Excel(
            name = "商品详情"
    )
    private String commoDetail;
    @Excel(
            name = "商品单位",
            readConverterExp = "件=、个.."
    )
    private String commoUnit;
    @Excel(
            name = "删除标识",
            readConverterExp = "0=未删除，1已删除"
    )
    private Integer delFlag;

    public TCommo() {
    }
    public void setCommoId(Long commoId) {
        this.commoId = commoId;
    }

    public Long getCommoId() {
        return this.commoId;
    }

    public void setCommoName(String commoName) {
        this.commoName = commoName;
    }

    public String getCommoName() {
        return this.commoName;
    }

    public void setCommoPrice(String commoPrice) {
        this.commoPrice = commoPrice;
    }

    public String getCommoPrice() {
        return this.commoPrice;
    }

    public void setCommoStock(String commoStock) {
        this.commoStock = commoStock;
    }

    public String getCommoStock() {
        return this.commoStock;
    }

    public void setCommoSales(String commoSales) {
        this.commoSales = commoSales;
    }

    public String getCommoSales() {
        return this.commoSales;
    }

    public void setCommoState(Integer commoState) {
        this.commoState = commoState;
    }

    public Integer getCommoState() {
        return this.commoState;
    }

    public void setCommoType(Long commoType) {
        this.commoType = commoType;
    }

    public Long getCommoType() {
        return this.commoType;
    }

    public void setCommoServeId(Long commoServeId) {
        this.commoServeId = commoServeId;
    }

    public Long getCommoServeId() {
        return this.commoServeId;
    }

    public void setCommoTaxId(Long commoTaxId) {
        this.commoTaxId = commoTaxId;
    }

    public Long getCommoTaxId() {
        return this.commoTaxId;
    }

    public void setCommoIcon(String commoIcon) {
        this.commoIcon = commoIcon;
    }

    public String getCommoIcon() {
        return this.commoIcon;
    }

    public void setCommonSub(String commonSub) {
        this.commonSub = commonSub;
    }

    public String getCommonSub() {
        return this.commonSub;
    }

    public void setCommoBrandId(Long commoBrandId) {
        this.commoBrandId = commoBrandId;
    }

    public Long getCommoBrandId() {
        return this.commoBrandId;
    }

    public void setCommoLabelId(Long commoLabelId) {
        this.commoLabelId = commoLabelId;
    }

    public Long getCommoLabelId() {
        return this.commoLabelId;
    }

    public void setCommoDetail(String commoDetail) {
        this.commoDetail = commoDetail;
    }

    public String getCommoDetail() {
        return this.commoDetail;
    }

    public void setCommoUnit(String commoUnit) {
        this.commoUnit = commoUnit;
    }

    public String getCommoUnit() {
        return this.commoUnit;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return this.delFlag;
    }

    public String toString() {
        return (new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)).append("commoId", this.getCommoId()).append("commoName", this.getCommoName()).append("commoPrice", this.getCommoPrice()).append("commoStock", this.getCommoStock()).append("commoSales", this.getCommoSales()).append("commoState", this.getCommoState()).append("createTime", this.getCreateTime()).append("commoType", this.getCommoType()).append("commoServeId", this.getCommoServeId()).append("commoTaxId", this.getCommoTaxId()).append("commoIcon", this.getCommoIcon()).append("commonSub", this.getCommonSub()).append("commoBrandId", this.getCommoBrandId()).append("commoLabelId", this.getCommoLabelId()).append("commoDetail", this.getCommoDetail()).append("commoUnit", this.getCommoUnit()).append("delFlag", this.getDelFlag()).toString();
    }


}
